#ifndef BUZZER_H
#define BUZZER_H

#include "gpio.h"

#define BUZZER_PIN GPIO_PIN_8
#define BUZZER_PORT GPIOA

#define BUZZER_ON() HAL_GPIO_WritePin(BUZZER_PORT, BUZZER_PIN, GPIO_PIN_SET)
#define BUZZER_OFF() HAL_GPIO_WritePin(BUZZER_PORT, BUZZER_PIN, GPIO_PIN_RESET)

#define BUZZER_TOGGLE() HAL_GPIO_TogglePin(BUZZER_PORT, BUZZER_PIN)

void Buzzer_Init(void);
#endif
